package com.lingxinst.business.login.net

import com.lynn.common.net.entity.BaseResponse
import io.reactivex.rxjava3.core.Observable
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @description: Api网络接口
 * @author: bailing
 * @datetime: 2025/5/28 11:01
 **/
interface Service {

    /**
     * 获取验证码
     */
    @POST(API_GET_CODE)
    fun getCode(@Body map: MutableMap<String, String>): Observable<BaseResponse>

    /**
     * 登录
     */
    @POST(API_LOGIN)
    fun login(@Body map: MutableMap<String, String>): Observable<BaseResponse>

}